package com.eas.ereceipt.util;

import java.util.ArrayList;

import com.eas.ereceipt.R;
import com.eas.ereceipt.bean.Receipt;

public class FakeData {

	public static ArrayList<Receipt> generateReceipt(){
		ArrayList<Receipt> data = new ArrayList<Receipt>();
		
		Receipt re;
		
		/*re = new Receipt();
		re.setState(Receipt.STATE_UPLOADING);
		re.setTitle("Lunch");
		re.setId(0);
		re.setCreateTime("12/17/2013");
		re.setPrice(25);
		re.setThumbResId(R.drawable.receipt_sample);
		data.add(re);*/
		
		re = new Receipt();
		re.setState(Receipt.STATE_OK);
		re.setTitle("Iphone");
		re.setId(1);
		re.setCreateTime("11/17/2013");
		re.setPrice(650);
		re.setThumbResId(R.drawable.receipt_sample_2);
		data.add(re);
		
		re = new Receipt();
		re.setState(Receipt.STATE_OK);
		re.setTitle("ZenBook");
		re.setId(2);
		re.setCreateTime("11/17/2013");
		re.setPrice(1050);
		re.setThumbResId(R.drawable.receipt_sample_3);
		data.add(re);
		
		re = new Receipt();
		re.setState(Receipt.STATE_PROCESSING);
		re.setTitle("Pencils");
		re.setId(3);
		re.setCreateTime("11/03/2013");
		re.setPrice(25);
		re.setThumbResId(R.drawable.receipt_sample_2);
		data.add(re);
		
		/*re = new Receipt();
		re.setState(Receipt.STATE_UPLOADING);
		re.setTitle("Book");
		re.setId(4);
		re.setCreateTime("7/03/2013");
		re.setPrice(50);
		re.setThumbResId(R.drawable.receipt_sample_5);
		data.add(re);
		
		re = new Receipt();
		re.setState(Receipt.STATE_OK);
		re.setTitle("Coca");
		re.setId(5);
		re.setCreateTime("12/01/2013");
		re.setPrice(2);
		re.setThumbResId(R.drawable.receipt_sample_3);
		data.add(re);
		
		re = new Receipt();
		re.setState(Receipt.STATE_PROCESSING);
		re.setTitle("Pet");
		re.setId(6);
		re.setCreateTime("8/05/2013");
		re.setPrice(7);
		re.setThumbResId(R.drawable.receipt_sample_2);
		data.add(re);*/
		
		return data;
	}

}
